@@ -41,7 +41,7 @@ public class UpgradeService extends IntentService {
|
||
| 41 | 41 |
boolean isMuteUpdate = intent.getBooleanExtra("isMuteUpdate",true);
|
| 42 | 42 |
try{
|
| 43 | 43 |
HashMap<String,String> params = new HashMap<>(); |
| 44 |
- params.put("src",String.valueOf(1));
|
|
| 44 |
+ params.put("src",String.valueOf(10));
|
|
| 45 | 45 |
String result = HttpUtils.doHttpPost(UrlContainer.CHECK_UPDATE_URL,params); |
| 46 | 46 |
LogHelper.d(TAG,"检查更新结果"+result); |
| 47 | 47 |
JSONObject json = new JSONObject(result); |
@@ -9,8 +9,6 @@ public class UrlContainer {
|
||
| 9 | 9 |
|
| 10 | 10 |
public static final String CHECK_UPDATE_URL = HOST_URL+"op/upgrade"; |
| 11 | 11 |
|
| 12 |
- public static final String LOGIN_URL = HOST_URL+"login"; |
|
| 13 |
- |
|
| 14 | 12 |
/** |
| 15 | 13 |
* user_id # 用户唯一标识 |
| 16 | 14 |
* nickname # 用户昵称 |
@@ -21,17 +19,6 @@ public class UrlContainer {
|
||
| 21 | 19 |
*/ |
| 22 | 20 |
public static final String PHOTO_UPLOAD_URL = HOST_URL+"l/upload"; |
| 23 | 21 |
|
| 24 |
- /** |
|
| 25 |
- * unionid # 摄影师微信授权 Unionid |
|
| 26 |
- * openid # 摄影师微信授权 Openid |
|
| 27 |
- * sex # 性别 |
|
| 28 |
- * nickname or screen_name # 昵称,Android 和 iOS 貌似不同 |
|
| 29 |
- * headimgurl or profile_image_url # 头像,Android 和 iOS 貌似不同 |
|
| 30 |
- * country # 国家 |
|
| 31 |
- * province # 省份 |
|
| 32 |
- * city # 城市 |
|
| 33 |
- */ |
|
| 34 |
- public static final String WX_LOGIN_URL = HOST_URL+"l/wx/authorize"; |
|
| 35 | 22 |
|
| 36 | 23 |
public static final String BRIEFS_URL = HOST_URL+"l/brief"; |
| 37 | 24 |
|